import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

import javax.annotation.Resource;

//import com.alibaba.fastjson.JSON;
@RunWith(SpringJUnit4ClassRunner.class)
//@ContextConfiguration(locations = {"classpath:spring-mybatis.xml"})
public class persist_test {
  //  private static Logger logger = Logger.getLogger(persist_test.class);
    //  private ApplicationContext ac = null;
    @Resource
   // private UserService userService = null;
    @Test
    public void test1() {
  //      TdUserVO user = userService.getUserByName("liuzj");
        // System.out.println(user.getUserName());
        //  logger.info(user.getUserName());
    //   logger.info(JSON.toJSONString(user.getUserId()));
    }
}
